package tr.edu.metu.is.mega.server.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * The persistent class for the usercoursesview database table.
 * 
 */
@Entity
public class Usercoursesview implements Serializable, tr.edu.metu.is.mega.server.core.BaseEntity {

    private static final long serialVersionUID = 6771337244027235234L;

    private String code;

    private Integer courseid;

    private String name;

    @Id
    private Integer pkid;

    private String role;

    private String semester;

    private String user;

    private Integer userid;

    public Usercoursesview() {
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getCourseid() {
        return this.courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Integer getPkid() {
        return this.pkid;
    }

    @Override
    public void setPkid(Integer pkid) {
        this.pkid = pkid;
    }

    public String getRole() {
        return this.role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getSemester() {
        return this.semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public String getUser() {
        return this.user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Integer getUserid() {
        return this.userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

}
